# -*- coding:utf-8 -*-
# this code is following GPL v3
# by: wangxing(wangxing.pku@gmail.com)
# project homepage: http://code.google.com/p/py-som/
# create time: 2012-12-21
# lastupdate: 2012-12-21

import simplejson
import math

class SOMTest:
    def __init__(self):
        self.model = None

    def loadmodel(self,fname):
        self.model = simplejson.load(open(fname))

    def runtest(self,fname):
        """
        read data in arff format
        """

    def runtestone(self,v):
        """
        get the best label for this vector only
        """


